package com.bhsy.hellobootspring.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

@Controller
public class JspController
{
    @RequestMapping("/")
    public String Jsp1(HttpServletRequest request)
      {
        request.setAttribute("show1","block");
        request.setAttribute("show2","none");
        request.setAttribute("show3","none");
        request.setAttribute("ts","");
        return "/html/index";
      }
    @RequestMapping("/index")
    public String Jsp2(HttpServletRequest request)
      {
        return "/html/index";
      }
    @RequestMapping("/DLCG")
    public String Jsp3(HttpServletRequest request)
      {
        //jsp解析路径
        return "/html/DLCG";
      }
}
